<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/global.jsp"%>
<!DOCTYPE HTML>
<html>
<head>

    <base target="main" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎使用后台管理系统</title>
    <link rel="stylesheet" type="text/css"
          href="${staticPath}/resources/jslib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css"
          href="${staticPath}/resources/css/theme.css">
    <link rel="stylesheet"
          href="${staticPath}/resources/jslib/font-awesome/css/font-awesome.css">
    <script src="${staticPath}/resources/jslib/jquery-1.8.0.js"
            type="text/javascript"></script>

    <style type="text/css">
        #line-chart {
            height: 300px;
            width: 800px;
            margin: 0px auto;
            margin-top: 1em;
        }

        .brand {
            font-family: georgia, serif;
        }

        .brand .first {
            color: #ccc;
            font-style: italic;
        }

        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>

<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<body class="">
<!--<![endif]-->

<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li id="fat-menu" class="dropdown">
                <a href="#" role="button" class="dropdown-toggle"
                   data-toggle="dropdown"> <i class="icon-user"></i>
                    ${sessionScope.admin.username}<i class="icon-caret-down"></i>
                </a>

                <ul class="dropdown-menu">
                    <li>
                        <a href="${path}/back/modifyPwd" tabindex="-1">修改密码</a>
                    </li>
                    <li class="divider"></li>

                    <li class="divider visible-phone"></li>
                    <li>
                        <a tabindex="-1" href="${path}/back/logout" target="_top">Logout</a>
                    </li>
                </ul>
            </li>

        </ul>
        <a class="brand" href="#"><span class="first">欢迎使用</span> <span
                class="second">后台系统</span> </a>
    </div>
</div>

<div class="sidebar-nav">

    <a href="#error-menu1" class="nav-header collapsed"
       data-toggle="collapse"><i class="icon-briefcase"></i>人员管理<i
            class="icon-chevron-up"></i> </a>
    <ul id="error-menu1" class="nav nav-list collapse">
        <li>
            <a href="${pash}/user/tolist">用户管理</a>
        </li>
        <c:if test="${sessionScope.admin.type==-1}">
            <li>
                <a href="${pash}/admin/list">管理员管理</a>
            </li>
        </c:if>
    </ul>

    <a href="#error-menu2" class="nav-header collapsed"
       data-toggle="collapse"><i class="icon-book"></i>记账管理<i
            class="icon-chevron-up"></i> </a>
    <ul id="error-menu2" class="nav nav-list collapse">
        <li>
            <a href="${pash}/category/tolist">收支类别管理</a>
        </li>

    </ul>

    <a href="#error-menu3" class="nav-header collapsed"
       data-toggle="collapse"><i class="icon-book"></i>论谈管理<i
            class="icon-chevron-up"></i> </a>
    <ul id="error-menu3" class="nav nav-list collapse">
        <li>
            <a href="${pash}/section/tolist">版块管理</a>
        </li>
        <li>
            <a href="${pash}/topic/tolist">话题管理</a>
        </li>
        <li>
            <a href="${pash}/reply/tolist">回复管理</a>
        </li>
    </ul>

    <a href="#error-menu4" class="nav-header collapsed"
       data-toggle="collapse"><i class="icon-book"></i>论谈首页管理<i
            class="icon-chevron-up"></i> </a>
    <ul id="error-menu4" class="nav nav-list collapse">
        <li>
            <a href="${pash}/bbsindex/tolist">添加话题到轮播图</a>
        </li>
        <li>
            <a href="${pash}/bbsindex/tolistbo">列出轮播图话题</a>
        </li>
        <li>
            <a href="${pash}/bbsindex/tohotlist">添加热门话题</a>
        </li>
        <li>
            <a href="${pash}/bbsindex/tolisthot">列出热门话题</a>
        </li>
        <li>
            <a href="${pash}/bbsindex/tolisthit">添加精品话题</a>
        </li>
        <li>
            <a href="${pash}/bbsindex/golisthit">列出精品话题</a>
        </li>

    </ul>
</div>
<div class="content">
    <iframe name="main" height="600px" width="100%" scrolling="auto"
            frameborder="0" src="${path}/back/welcome">
    </iframe>
</div>
<script src="${staticPath}/resources/jslib/bootstrap/js/bootstrap.js"></script>
</body>
</html>